package com.example.blogspring.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * @author : niu niu
 * @version : 1.0.0
 * @date : 2023/5/20 22:41
 */
@Data
public class BlogInfo {
    private Integer id;
    private String title;
    private String content;
    private Integer userId;
    private Integer loginUser;
    private Integer deleteFlag;
    @JsonFormat(pattern= "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime createTime;
    @JsonFormat(pattern= "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime updateTime;
    private Integer rcount;
}
